package com.my12306.third.service;

import com.my12306.common.exception.SMSException;
import com.my12306.third.model.vo.SmsVo;

import java.util.List;

/**
 * @Author:苏牧夕
 * @Date:2020/5/14 12:29
 * @Version 1.0
 */
public interface SmsService {

    String sendSms(String content, String phoneNumber, String templateNo) throws SMSException;

    /**
     * 发送注册验证码！
     *
     * @param smsVo
     * @return
     */
    String sendRegisterCode(SmsVo smsVo) throws SMSException;

    /**
     * 发送信息！
     *
     * @param phones
     * @param context
     * @return
     */
    String sendMessage(List<String> phones, String context) throws SMSException;
}
